<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8"></meta>
<script type="text/javascript" src="/js/vue.js"></script>
<title>Vue.js</title>
</head>
<body>
	<h1>IFELSESHOW指令</h1>
	<hr></hr>
	<div id="app">
		<div v-if="isLogin" >你好，登錄！</div>
	</div>
	
	<script type="text/javascript">
		var app = new Vue({
			
			el:'#app',
			data:{
				isLogin:false
			}		
		});
	</script>
</body>
</html>